package com.yeung.beans;

public class BookStock {
    private int id;
    public int isbn;
    public int stock;

    public BookStock() {
    }

    public BookStock(int id, int isbn, int stock) {
        this.id = id;
        this.isbn = isbn;
        this.stock = stock;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getIsbn() {
        return isbn;
    }

    public void setIsbn(int isbn) {
        this.isbn = isbn;
    }

    public int getStock() {
        return stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }

    @Override
    public String toString() {
        return "BookStock{" +
                "id=" + id +
                ", isbn=" + isbn +
                ", stock=" + stock +
                '}';
    }
}
